package bastet;

import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JPanel;

public class MyDrawPanel extends JPanel {

	private static final long serialVersionUID = -3288382670988684671L;

	public void paintComponent(Graphics g) {

		int red = (int) (Math.random() * 255);
		int green = (int) (Math.random() * 255);
		int blue = (int) (Math.random() * 255);

		Color randomColor = new Color(red, green, blue);

		g.setColor(randomColor);
		g.fillOval(70, 70, 100, 100);

	}
}
